﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using KingsSharp.Core.Data;

namespace CRM.Admin.Contracts.Model.Sys
{
    /// <summary>
    /// 菜单所拥有的权限
    /// </summary>
    public class MenuNodeAction : EntityBase<int>
    {
        /// <summary>
        /// 权限名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 权限编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 所属菜单
        /// </summary>
        public virtual MenuNode Menu { get; set; }

        /// <summary>
        /// 菜单ID
        /// </summary>
        public Guid MenuId { get; set; }
    }
}
